package com.app.dao.mysql;

import org.apache.ibatis.annotations.SelectProvider;

import java.util.Map;

public class SqlProvider {

    public String updateYjDataByField(Map<String, Object> para){
        return "update yjdata set "+para.get("field")+" = " +"'"+para.get("value")+"'" +" where id = " + para.get("id") ;
    }

    public String updateQmDataByField(Map<String, Object> para){
        return "update qmdata set "+para.get("field")+" = " +"'"+para.get("value")+"'" +" where id = " + para.get("id") ;
    }
}
